import {NativeModules} from 'react-native';

const {RNVideocompress} = NativeModules;

/**
 *
 * @param path 需要压缩的视频路径
 * @return {promise}结果为压缩成功后的视频地址
 */
export function zipVideo(path) {
  return RNVideocompress.zipVideo(path)
}


